// This file was automatically generated from errors.soy.
// Please don't edit this file by hand.

goog.provide('dkpoints.errors.templates');

goog.require('soy');
goog.require('soy.StringBuilder');


dkpoints.errors.templates.genericError = function(opt_data, opt_sb) {
  var output = opt_sb || new soy.StringBuilder();
  output.append('<div><div style="font-family: \'Lucida Grande\',\'Trebuchet MS\',\'Verdana\',\'sans-serif\'; color: red;"><form>', soy.$$escapeHtml(opt_data.message), ' - <input type="button" id="backButton" name="backButton" value="Go Back" /></form></div></div>');
  if (!opt_sb) return output.toString();
};


dkpoints.errors.templates.http404 = function(opt_data, opt_sb) {
  var output = opt_sb || new soy.StringBuilder();
  output.append('<div><div style="font-family: \'Lucida Grande\',\'Trebuchet MS\',\'Verdana\',\'sans-serif\'; color: red;"><form>Nothing here - <input type="button" id="backButton" name="backButton" value="Go Back" /></form></div></div>');
  if (!opt_sb) return output.toString();
};


dkpoints.errors.templates.notAuthorized = function(opt_data, opt_sb) {
  var output = opt_sb || new soy.StringBuilder();
  output.append('<div><div style="font-family: \'Lucida Grande\',\'Trebuchet MS\',\'Verdana\',\'sans-serif\'; color: red;"><form>', (! opt_data.loggedIn) ? 'You must log in to an administrator account to use this feature - <input type="button" id="backButton" name="backButton" value="Go Back" />' : 'Your account does not have administrative privileges - <input type="button" id="backButton" name="backButton" value="Go Back" />', '</form></div></div>');
  if (!opt_sb) return output.toString();
};
